package com.yourcompany.api.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_file")
@Schema(description = "文件上传")
public class SysFile extends BaseEntity {
    
    @Schema(description = "文件名")
    private String fileName;
    
    @Schema(description = "文件路径")
    private String filePath;
    
    @Schema(description = "文件URL")
    private String fileUrl;
    
    @Schema(description = "文件类型")
    private String fileType;
    
    @Schema(description = "文件大小(字节)")
    private Long fileSize;
    
    @Schema(description = "文件MD5")
    private String fileMd5;
    
    @Schema(description = "业务类型")
    private String businessType;
    
    @Schema(description = "业务ID")
    private String businessId;
    
    @Schema(description = "存储类型：local/oss/cos")
    private String storageType;
    
    @Schema(description = "创建人ID")
    private Long creatorId;
    
    @Schema(description = "修改人ID")
    private Long modifierId;
} 